from datetime import datetime
from typing import Optional, List

from pydantic import BaseModel


class SaveModel(BaseModel):
    title: str
    actives: List[str]
    env: str
    dataId: str
    dbHost: str
    dbPassword: str
    dbPort: int
    dbUser: str
    xxlJob: str
    xxlPassword: str
    xxlUser: str


class DeleteEnv(BaseModel):
    id: str
